$def with (page)

<html>
<head>
    $if page.has_key('title'):
        <title>$page.title</title>
    $else:
		<title>WebWiki</title>
	<link rel="stylesheet" href="/static/default.css" type="text/css" media="screen, print, projection" />
<style>
    </style>
</head>
<body>

<div class="content">
	<h1><a href="/"><img src="/static/logo.png" alt="" /><br />WebWiki</a></h1>
    <pre>
<a href="/">Home</a>  <a href="/new">New Page</a>  <a href="/upload">Upload</a>
	</pre>
</div>
$:page

<p class="footer" align="center">
<em>WebWiki, We focus on Python,Memcached,Java and so on.</em><br />
By Chu YiJian (design and <a href='https://webwiki.googlecode.com/svn/trunk/'>programming</a>) and Wang YiChun (design and programming)<br />
&copy; Nov 2010 - 2010 - 
<small><a href='mailto:flynewton@gmail.com?subject=WebWiki'>Feedback</a> - 
<a href='https://webwiki.googlecode.com/svn/trunk/'>Source code</a></small>
</p>

</body>
</html>
